package com.feng.cloud.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName UserRole
 * @Description TODO
 * @Author Better Feng
 * @Date 2019/12/27 15:35
 * @Version 1.0
 **/
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("t_user_role")
public class UserRole implements Serializable {
    @TableField(value = "USER_ID")
    private Long userId;

    @TableField(value = "ROLE_ID")
    private Long roleId;
}
